<template>
  <div class="app-container">
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
      <el-form-item label="专利申请号：">
        <el-input
          v-model="id"
          placeholder="例如：WOAU17050637"
          style="width: 325px"
        ></el-input>
      </el-form-item>
      <el-form-item>
        <router-link :to="'/patent/detail/' + id">
          <el-button type="primary" @click="onSubmit">查询</el-button>
        </router-link>
      </el-form-item>
    </el-form>
    
    <detail ref="mydetail"> 
    
    </detail>
  </div>
</template>

<script>
import detail from "./detail.vue";
export default {
  components: { detail },
  name: "accurate",
  data() {
    return {
      id: "",
    };
  },
  computed: {},
  watch: {},
  methods: {},
};
</script>

<style scoped>
.el-form-item {
  margin: 1px 0 1px 1px;
  height: 44px;
}
</style>
